package com.lzw.common.bean;

import com.lzw.bean.User;

import java.util.Date;

/**
 * 封装客户端访问的常用信息
 * Created by 林志伟 on 2017/6/19.
 */
public class Client {
//  当前用户信息
    private User user;
//    当前客户端ip
    private String ip;
//    登录时间
    private Date login_time;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getLogin_time() {
        return login_time;
    }

    public void setLogin_time(Date login_time) {
        this.login_time = login_time;
    }

    @Override
    public String toString() {
        return "Client{" +
                "    user=" + user +
                ",     ip='" + ip + '\'' +
                ",     login_time=" + login_time +
                '}';
    }
}
